<template>
  <div class="bottom">
    <CountAnalyse3
      v-if="activePanel.panelId === 'countAnalyseId'"
    ></CountAnalyse3>
    <BottomToolBar
      v-if="activePanel.panelId !== 'countAnalyseId'"
    ></BottomToolBar>
    <div class="bottom-bg">
      <img src="../../assets/home/bottom/bottom-bg.png" alt="" />
    </div>
  </div>
</template>
<script>
import BottomToolBar from "./toolbar/index.vue";
import CountAnalyse3 from "./countAnalyse3/index.vue";
export default {
  components: { BottomToolBar, CountAnalyse3 },
  computed: {
    activePanel() {
      return this.$store.state.activePanel;
    },
  },
};
</script>
<style lang="less" scoped>
.bottom {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  .bottom-bg {
    pointer-events: none;
    position: fixed;
    z-index: 9;
    bottom: 0;
    width: 100%;
    height: 33px;
    // padding: 17px 0 8px 0;
    padding: 0 0 8px 0;
    background: linear-gradient(180deg, rgba(8, 25, 38, 0) 0%, #01457b 100%);
    img {
      width: 100%;
      height: 100%;
    }
  }
}
</style>
